package com.concurrent.sample.business.listener.event;

import com.concurrent.sample.business.dto.request.CreateTradeEventRequest;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

@Getter
@Setter
public class CreateTradeEvent extends ApplicationEvent {

  private List<CreateTradeEventRequest> placeOrderEvents;

  public CreateTradeEvent(Object source, List<CreateTradeEventRequest> placeOrderEvents) {
    super(source);
    this.placeOrderEvents = placeOrderEvents;
  }

}
